package main

import (
	"fmt"
	"gitee.com/zhucheer/orange/cfg"
	"gitee.com/zhucheer/orange/logger"
	"time"
)

func main() {

	// 加载配置文件
	cfg.ParseParams()
	cfg.StartConfig()
	// 启动logger
	logger.NewLogger()
	time.Sleep(6 * time.Second)

	logger.Error("this is error123456")

	time.Sleep(5 * time.Second)
	fmt.Println("--专业帮倒忙--")
}
